﻿using B.S.BasicData.Api.Read.Dtos;
using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.Api.Read.Application.Command.Account
{
    /// <summary>
    /// 获取用户列表的请求参数命令
    /// </summary>
    public class GetAccountCommand : IRequest<ApiResult<List<AccountDto>>>
    {
        /// <summary>
        /// 部门名称
        /// </summary>
        public string? DepartmentName { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string? Name {  get; set; }
    }
}
